package com.touchstone.synchdata.common.dto;

import lombok.Data;

/**
 * @Description: 键值对实体封装，主要用于向前端返回键值对数据
 * @Author: hunter
 * @Date:2019-07-10 15:47
 */
@Data
public class OptionDTO {

    /**
     * 显示值
     */
    private String label;

    /**
     * 值
     */
    private Object value;

    /**
     * 扩展信息
     */
    private Object extendMsg;

    public OptionDTO() {
    }

    public OptionDTO(String label, Object value) {
        this.label = label;
        this.value = value;
    }

    public OptionDTO(String label, Object value, Object extendMsg) {
        this.label = label;
        this.value = value;
        this.extendMsg = extendMsg;
    }
}
